package net.ojbk.study.curriculumDesign.service.canvasmodel;

import net.ojbk.study.curriculumDesign.beans.canvasmodel.Category;

import java.util.List;

public interface ICategoryService {

    /**
     * 查询全部油画分类
     * @return  全部油画分类
     */
    public List<Category> getCategories();

    /**
     * 根据ID删除某一具体分类
     * @param cgid    要删除的分类ID
     */
    public void deleteById(Integer cgid);

    /**
     * 插入油画分类信息
     * @param category  油画分类实体
     */
    public void  addCategory(Category category);


}
